Integrand size = 21, antiderivative size = 73 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=\frac {\cot ^3(c+d x)}{3 a d}+\frac {2 \cot ^5(c+d x)}{5 a d}+\frac {\cot ^7(c+d x)}{7 a d}-\frac {\csc ^7(c+d x)}{7 a d} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {3957, 2918, 2686, 30, 2687, 276} \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=\frac {\cot ^7(c+d x)}{7 a d}+\frac {2 \cot ^5(c+d x)}{5 a d}+\frac {\cot ^3(c+d x)}{3 a d}-\frac {\csc ^7(c+d x)}{7 a d} \]
[In]
[Out]
Rule 30
Rule 276
Rule 2686
Rule 2687
Rule 2918
Rule 3957
Rubi steps \begin{align*} \text {integral}& = -\int \frac {\cot (c+d x) \csc ^5(c+d x)}{-a-a \cos (c+d x)} \, dx \\ & = -\frac {\int \cot ^2(c+d x) \csc ^6(c+d x) \, dx}{a}+\frac {\int \cot (c+d x) \csc ^7(c+d x) \, dx}{a} \\ & = -\frac {\text {Subst}\left (\int x^6 \, dx,x,\csc (c+d x)\right )}{a d}-\frac {\text {Subst}\left (\int x^2 \left (1+x^2\right )^2 \, dx,x,-\cot (c+d x)\right )}{a d} \\ & = -\frac {\csc ^7(c+d x)}{7 a d}-\frac {\text {Subst}\left (\int \left (x^2+2 x^4+x^6\right ) \, dx,x,-\cot (c+d x)\right )}{a d} \\ & = \frac {\cot ^3(c+d x)}{3 a d}+\frac {2 \cot ^5(c+d x)}{5 a d}+\frac {\cot ^7(c+d x)}{7 a d}-\frac {\csc ^7(c+d x)}{7 a d} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(158\) vs. \(2(73)=146\).
Time = 0.83 (sec) , antiderivative size = 158, normalized size of antiderivative = 2.16 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=\frac {\csc (c) \csc ^5(c+d x) \sec (c+d x) (-8960 \sin (c)+2560 \sin (d x)+1500 \sin (c+d x)+375 \sin (2 (c+d x))-750 \sin (3 (c+d x))-300 \sin (4 (c+d x))+150 \sin (5 (c+d x))+75 \sin (6 (c+d x))+640 \sin (c+2 d x)-1280 \sin (2 c+3 d x)-512 \sin (3 c+4 d x)+256 \sin (4 c+5 d x)+128 \sin (5 c+6 d x))}{53760 a d (1+\sec (c+d x))} \]
[In]
[Out]
Time = 0.56 (sec) , antiderivative size = 86, normalized size of antiderivative = 1.18
method | result | size |
parallelrisch | \(\frac {-15 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}-84 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}-21 \cot \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}-175 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}-140 \cot \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}-525 \cot \left (\frac {d x}{2}+\frac {c}{2}\right )}{6720 d a}\) | \(86\) |
derivativedivides | \(\frac {-\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}{7}-\frac {4 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{5}-\frac {5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3}-\frac {1}{5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}-\frac {4}{3 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}-\frac {5}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )}}{64 d a}\) | \(88\) |
default | \(\frac {-\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}{7}-\frac {4 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{5}-\frac {5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3}-\frac {1}{5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}-\frac {4}{3 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}-\frac {5}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )}}{64 d a}\) | \(88\) |
risch | \(-\frac {16 i \left (70 \,{\mathrm e}^{6 i \left (d x +c \right )}+20 \,{\mathrm e}^{5 i \left (d x +c \right )}+5 \,{\mathrm e}^{4 i \left (d x +c \right )}-10 \,{\mathrm e}^{3 i \left (d x +c \right )}-4 \,{\mathrm e}^{2 i \left (d x +c \right )}+2 \,{\mathrm e}^{i \left (d x +c \right )}+1\right )}{105 a d \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )^{7} \left ({\mathrm e}^{i \left (d x +c \right )}-1\right )^{5}}\) | \(104\) |
norman | \(\frac {-\frac {1}{320 a d}-\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{12}}{448 a d}-\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}}{48 d a}-\frac {5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}}{64 d a}-\frac {5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{8}}{192 d a}-\frac {\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{10}}{80 d a}}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}\) | \(117\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 131 vs. \(2 (65) = 130\).
Time = 0.25 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.79 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=-\frac {8 \, \cos \left (d x + c\right )^{6} + 8 \, \cos \left (d x + c\right )^{5} - 20 \, \cos \left (d x + c\right )^{4} - 20 \, \cos \left (d x + c\right )^{3} + 15 \, \cos \left (d x + c\right )^{2} + 15 \, \cos \left (d x + c\right ) + 15}{105 \, {\left (a d \cos \left (d x + c\right )^{5} + a d \cos \left (d x + c\right )^{4} - 2 \, a d \cos \left (d x + c\right )^{3} - 2 \, a d \cos \left (d x + c\right )^{2} + a d \cos \left (d x + c\right ) + a d\right )} \sin \left (d x + c\right )} \]
[In]
[Out]
\[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=\frac {\int \frac {\csc ^{6}{\left (c + d x \right )}}{\sec {\left (c + d x \right )} + 1}\, dx}{a} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 136 vs. \(2 (65) = 130\).
Time = 0.20 (sec) , antiderivative size = 136, normalized size of antiderivative = 1.86 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=-\frac {\frac {\frac {175 \, \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {84 \, \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} + \frac {15 \, \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}}}{a} + \frac {7 \, {\left (\frac {20 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {75 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + 3\right )} {\left (\cos \left (d x + c\right ) + 1\right )}^{5}}{a \sin \left (d x + c\right )^{5}}}{6720 \, d} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.41 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=-\frac {\frac {7 \, {\left (75 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{4} + 20 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 3\right )}}{a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5}} + \frac {15 \, a^{6} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 84 \, a^{6} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 175 \, a^{6} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3}}{a^{7}}}{6720 \, d} \]
[In]
[Out]
Time = 14.04 (sec) , antiderivative size = 153, normalized size of antiderivative = 2.10 \[ \int \frac {\csc ^6(c+d x)}{a+a \sec (c+d x)} \, dx=-\frac {21\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{12}+140\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{10}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2+525\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^8\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^4+175\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^4\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^8+84\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{10}+15\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{12}}{6720\,a\,d\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^7\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^5} \]
[In]
[Out]